.img-cropper-line{
    position: absolute;
    background-color: var(--cut-line-color);
    transition: all 1s;
    z-index: 10;
}
.left-first-line{
    top: 0;
    left: 33.3%;
    width: 1px;
    height: 100%;
}
.left-second-line{
    top: 0;
    left: 66.7%;
    width: 1px;
    height: 100%;
}
.top-first-line{
    top: 33.3%;
    left: 0;
    height: 1px;
    width: 100%;
}
.top-second-line{
    top: 66.7%;
    left: 0;
    height: 1px;
    width: 100%;
}

.img-cropper {
    position: absolute;
}

.img-drag{
    -moz-user-select: none; /* Firefox私有属性 */
    -webkit-user-select: none; /* WebKit内核私有属性 */
    -ms-user-select: none; /* IE私有属性(IE10及以后) */
    -khtml-user-select: none; /* KHTML内核私有属性 */
    -o-user-select: none; /* Opera私有属性 */
    user-select: none; /* CSS3属性 */
}

.img-cropper-border {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 20;
}
.left-top-border {
    left: -4px;
    top: -4px;
    border-top: 4px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    cursor: nw-resize;
}
.left-bottom-border {
    left: -4px;
    bottom: -4px;
    border-bottom: 4px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    cursor: sw-resize;
}
.right-top-border {
    right: -4px;
    top: -4px;
    border-top: 4px solid var(--border-color);
    border-right: 4px solid var(--border-color);
    cursor: sw-resize;
}
.right-bottom-border {
    right: -4px;
    bottom: -4px;
    border-bottom: 4px solid var(--border-color);
    border-right: 4px solid var(--border-color);
    cursor: nw-resize;
}

.top-middle-border{
    position: absolute;
    border-top: 1px solid var(--border-color);
    top:0;
    width: 100%;
    height: 20px;
    z-index: 10;
    cursor: n-resize;

    &::after{
        content: "";
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translate(-50%);
        width: 30px;
        height: 30px;
        border-top: 4px solid var(--border-color);
        box-sizing: border-box;
        cursor: inherit;
    }
}
.bottom-middle-border{
    position: absolute;
    border-bottom: 1px solid var(--border-color);
    bottom:0;
    width: 100%;
    height: 20px;
    z-index: 10;
    cursor: n-resize;

    &::after{
        content: "";
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translate(-50%);
        width: 30px;
        height: 30px;
        border-bottom: 4px solid var(--border-color);
        box-sizing: border-box;
        cursor: inherit;
    }
}
.left-middle-border{
    position: absolute;
    border-left: 1px solid var(--border-color);
    left:0;
    height: 100%;
    width: 20px;
    z-index: 10;
    cursor: e-resize;

    &::after{
        content: "";
        position: absolute;
        top: 50%;
        left: -5px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border-left: 4px solid var(--border-color);
        box-sizing: border-box;
        cursor: inherit;
    }
}
.right-middle-border{
    position: absolute;
    border-right: 1px solid var(--border-color);
    right:0;
    height: 100%;
    width: 20px;
    z-index: 10;
    cursor: e-resize;

     &::after{
        content: "";
        position: absolute;
        top: 50%;
        right: -5px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border-right: 4px solid var(--border-color);
        box-sizing: border-box;
        cursor: inherit;
    }
}

.rotation-bar{
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    flex-direction: column;

    .rotation-bar-part{
        padding: 0 10px;
        height: 32px;
        outline: none;
        cursor: w-resize;
        display: flex;
        // flex-basis: 100%;
        overflow: hidden;
        position: relative;
        touch-action: none;

        .svg-part,.svg-origin{
            position: absolute;
            left: 50%;
            transform: translate(-50%);
        }
    }

    .degree-part{
        width: 100%;
        height: 20px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;

        .rotate-value{
            padding: 0 5px;
            font-size: 16px;
            text-align: center;
        }
    }
}